package cn.edu.csmzxy.rk233x.auth_system.service;

import cn.edu.csmzxy.rk233x.auth_system.dto.RoleDTO;
import cn.edu.csmzxy.rk233x.auth_system.entity.SysRole;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author wumxing
 * @date 2025/10/15 9:50
 * @description
 */
public interface SysRoleService extends IService<SysRole> {
    IPage<SysRole> selectRolePage(Page<SysRole> page, String roleName);
    void addRole(RoleDTO roleDTO);
    void updateRole(Long id, RoleDTO roleDTO);
    void deleteRole(Long id);
}
